function numberfields(struct)
fields=fieldnames(struct); 
N=length(fields); 
tab=[num2cprec(1:N)' fields]; 
printcell(tab); 
